Cap for a container



FIG. 1 is a top perspective view of a cap for a container according to the new design:

FIG. 2 is a front view thereof, the rear view being identical to the front view:

FIG. 3 is a right side view thereof, the left side view being identical to the right side view;

FIG. 4 is a top view thereof; and,

FIG. 5 is a bottom view thereof.

All broken lines shown in the drawings are for environmental purposes only and form no part of the claimed design. 

The ornamental design for a cap for a container, as shown and described. 